package com.dianping.simple.action;

import org.springframework.beans.factory.annotation.Autowired;

import com.dianping.simple.service.TestService;
import com.opensymphony.xwork2.ActionSupport;

public class TestAction extends ActionSupport {

	private static final long serialVersionUID = 1L;

	@Autowired
	private TestService testService;
	
	public String execute(){
		System.out.println("TestAction SUCCESS");
		testService.say();
		return SUCCESS;
	}
}
